package icu.cocoon.work.entity.excel.weekReport;

import icu.cocoon.work.entity.WeekNextItem;
import lombok.Data;

@Data
public class NextItemExcelData {

  private String content;

  private String planCompleteDate;

  private String remark;

  public NextItemExcelData(WeekNextItem nextItem) {
    this.content = nextItem.getContent();
    if (nextItem.getPlanCompleteDate()!=null){
      this.planCompleteDate = nextItem.getPlanCompleteDate().toString();
    }
    this.remark = nextItem.getRemark();
  }
}
